<ul class="message">
    <?php if (isset($notice)):?>
        <?php foreach($notice AS $n):?>
            <li class="success"><span class="ico"></span><?php $this->put($n);?></li>
        <?php endforeach;?>
    <?php endif;?>
    <?php if (isset($tips)):?>
        <?php foreach($tips AS $tip):?>
            <li class="tips"><span class="ico"></span><?php $this->put($tip);?></li>
        <?php endforeach;?>
    <?php endif;?>
    <?php if (isset($warning)):?>
        <?php foreach($warning AS $war):?>
            <li class="warning"><span class="ico"></span><?php $this->put($war);?></li>
        <?php endforeach;?>
    <?php endif;?>
</ul>